package main.java.FSMDE.validation.rules;

import main.java.ERMDE.validation.ValidationType;
import main.java.FSMDE.models.Diagram;
import main.java.FSMDE.validation.IValidationEntry;


public class DiagramHasNoInterfacesValidationEntry implements IValidationEntry {

	private Diagram diagram;

	public DiagramHasNoInterfacesValidationEntry(Diagram diagram) {
		this.diagram = diagram;
		}

	@Override
	public Diagram getDiagram() {
		return this.diagram;
	}

	@Override
	public String getMessage() {
		return String.format("No interface have been created.");
	}

	@Override
	public ValidationType getType() {
		return ValidationType.ERROR;
	}

}
